#-------------------------------------------------
#
# Project created by QtCreator 2016-12-26T08:48:45
#
#-------------------------------------------------

QT       += core gui network printsupport sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = ReportEditor
TEMPLATE = app

DEFINES += HAVE_PROTOTYPE_GETHOSTNAME
QMAKE_CFLAGS_RELEASE += /MD
QMAKE_CFLAGS_DEBUG += /MDd
QMAKE_CXXFLAGS_RELEASE += /MD
QMAKE_CXXFLAGS_DEBUG += /MDd

RC_ICONS = Resources/jf.ico
TRANSLATIONS += reporteditor_cn.ts

CONFIG(release, debug|release) {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MD\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MD\lib\*.lib"
} else {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MDd\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MDd\lib\*.lib"
}

LIBS += advapi32.lib wsock32.lib netapi32.lib



RESOURCES += \
    reporteditor.qrc

FORMS += \
    MainFrame/aboutdialog.ui \
    MainFrame/reporteditor.ui \
    DiagnosticTemplate/newitemdialog.ui \
    MainFrame/reportwidget.ui \
    MainFrame/srsettingsdialog.ui

HEADERS += \
    MainFrame/aboutdialog.h \
    MainFrame/reporteditor.h \
    DiagnosticTemplate/diagnostictemplateview.h \
    DiagnosticTemplate/newitemdialog.h \
    MainFrame/reportwidget.h \
    MainFrame/srsettingsdialog.h \
    Global/globaldefs.h \
    ImageData/dicomimageview.h \
    ImageData/imageinstance.h \
    ImageData/imageloadthread.h \
    ImageData/seriesinstance.h \
    ImageData/dcmimagecache.h \
    DiagnosticTemplate/diagnostictemplatemodel.h \
    DiagnosticTemplate/diagnostictemplatedelegate.h \
    MainFrame/mdisubwindow.h

SOURCES += \
    MainFrame/aboutdialog.cpp \
    MainFrame/main.cpp \
    MainFrame/reporteditor.cpp \
    DiagnosticTemplate/diagnostictemplateview.cpp \
    DiagnosticTemplate/newitemdialog.cpp \
    MainFrame/reportwidget.cpp \
    MainFrame/srsettingsdialog.cpp \
    ImageData/dicomimageview.cpp \
    ImageData/imageinstance.cpp \
    ImageData/imageloadthread.cpp \
    ImageData/seriesinstance.cpp \
    ImageData/dcmimagecache.cpp \
    DiagnosticTemplate/diagnostictemplatemodel.cpp \
    DiagnosticTemplate/diagnostictemplatedelegate.cpp \
    MainFrame/mdisubwindow.cpp
